package org.example.myleet.p870;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[2,11,7,15]".equals(JsonUtils.toJson(solution.advantageCount(new int[]{2,7,11,15}, new int[]{1,10,4,11}))));
        Assert.isTrue("[24,32,8,12]".equals(JsonUtils.toJson(solution.advantageCount(new int[]{12,24,8,32}, new int[]{13,25,32,11}))));
    }
}
